package com.sunducation.wts.lifecycle

import android.util.Log
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent

class MyApplicationLifeCycleObserver : LifecycleObserver{
    private val TAG : String = "MAPPLCO"
    @OnLifecycleEvent(Lifecycle.Event.ON_CREATE)
    private fun testCreate() {
        Log.i(TAG, "testCreate");
    }

    @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
    private fun testStop() {
        Log.i(TAG, "testStop");
    }
}